package com.woniuxy.portal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniuxy.portal.model.entity.Book;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author HASEE
 * @description 针对表【t_book】的数据库操作Service
 * @createDate 2025-08-02 11:43:04
 */
public interface BookService extends IService<Book> {

    IPage<Book> findTopSale(Integer pageNum, Integer pageSize);

    IPage<Book> findByType(Integer pageNum, Integer pageSize, Integer typeId);

    Book findById(Integer bookId);

}
